package com.itheima.d2_homework.timu3;

public class Java extends  Clerk{
    public Java() {
    }

    public Java(String name, String sex, int age) {
        super(name, sex, age);
    }

    @Override
    public void work() {
        System.out.println(getSex() + "老师" + getName() + "年龄" + getAge() + "正在教java");
    }
}
